using System;
using System.Collections;
using System.Collections.Generic;
using FrameWork;
using UnityEngine;

public class Bullet : MonoBehaviour
{
    private void OnEnable()
    {
        Invoke("Dis", 1f);
    }

    private void Dis()
    {
        // ObjectPool.Instance.Replace("Bullet", this.gameObject);
        Destroy(gameObject);
    }
}
